package lesson7;

public class RecursionExamples {
	
	public static void main(String[] args) {
		
		int n = 500;
		printNumber(n);
	}
	
	public static void printNumber(int number)
	{
		System.out.println(number);
		if(number == 200)
		{
			return;
		}
		else
		{
		  printNumber(number);
		}
	}
	
	
}
